<div id="head">
	<div class="container">
		<div class="icon" >
            <a href="__ROOT__/" class="title-href">
                <img class="m-head-img" src="__TMPL__/Public/images/icon.jpg" align="middle" />
                <span class="title">西南大学学生事务服务中心网</span>
            </a>
        </div>
		<div class="title2">
			<!--<span class="glyphicon glyphicon-book"></span>-->
			<img src="__TMPL__/Public/images/que.png">
			<a href="javascript:void(0)" onClick="">
				我要咨询
			</a>
		</div>
		<div class="title3">
			<!--<span class="glyphicon glyphicon-star-empty"></span>-->
			<img src="__TMPL__/Public/images/star.png">
			<a href="javascript:void(0)" onClick="AddFavorite('<?php echo $_SERVER["SERVER_NAME"] . $_SERVER["REQUEST_URI"] ?>', '西南大学学生事务服务中心网')">
				收藏此页
			</a>
		</div>
	</div>
</div>

<script type="text/javascript">
	function AddFavorite(sURL, sTitle) {
		sURL = encodeURI(sURL);
		try {
			window.external.addFavorite(sURL, sTitle);
		} catch (e) {
			try {
				window.sidebar.addPanel(sTitle, sURL, "");
			} catch (e) {
				alert("加入收藏失败,请使用Ctrl+D进行添加,或手动在浏览器里进行设置.");
			}
		}
	}
</script>
